package com._23DesignPattern._create.Factory.SimpleFactory;

/**
 * @Author: huangya
 * @Date: 2018/12/4
 * @Description: 简单工厂模式（02：工厂方法模式）
 */
public class SenderFactory2 {

    public MailSender mailSenderProduce(){
        return new MailSender();
    }

    public MessageSender messageSenderProduce(){
        return new MessageSender();
    }

}
